draw the buttons during a "draw" as well, this fixes a bug when the whole
authorGeorge Lebl <jirka@5z.com>
Mon, 3 Aug 1998 05:58:49 +0000 (05:58 +0000)
committerGeorge Lebl <jirka@src.gnome.org>
Mon, 3 Aug 1998 05:58:49 +0000 (05:58 +0000)
Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>

        * gtk/gtkclist.c: draw the buttons during a "draw" as well,
          this fixes a bug when the whole widget is made non-sesitive
          the buttons weren't redrawn

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkclist.c

index 617ac22e5beba0b8b7aeb7a0ccff77d75357065f..e629a787aed030394497083573406d3423989eee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>
+
+       * gtk/gtkclist.c: draw the buttons during a "draw" as well,
+         this fixes a bug when the whole widget is made non-sesitive
+         the buttons weren't redrawn
+
 Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>
 
        * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
index 617ac22e5beba0b8b7aeb7a0ccff77d75357065f..e629a787aed030394497083573406d3423989eee 100644 (file)
@@ -1,3 +1,9 @@
+Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>
+
+       * gtk/gtkclist.c: draw the buttons during a "draw" as well,
+         this fixes a bug when the whole widget is made non-sesitive
+         the buttons weren't redrawn
+
 Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>
 
        * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
index 617ac22e5beba0b8b7aeb7a0ccff77d75357065f..e629a787aed030394497083573406d3423989eee 100644 (file)
@@ -1,3 +1,9 @@
+Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>
+
+       * gtk/gtkclist.c: draw the buttons during a "draw" as well,
+         this fixes a bug when the whole widget is made non-sesitive
+         the buttons weren't redrawn
+
 Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>
 
        * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
index 617ac22e5beba0b8b7aeb7a0ccff77d75357065f..e629a787aed030394497083573406d3423989eee 100644 (file)
@@ -1,3 +1,9 @@
+Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>
+
+       * gtk/gtkclist.c: draw the buttons during a "draw" as well,
+         this fixes a bug when the whole widget is made non-sesitive
+         the buttons weren't redrawn
+
 Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>
 
        * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
index 617ac22e5beba0b8b7aeb7a0ccff77d75357065f..e629a787aed030394497083573406d3423989eee 100644 (file)
@@ -1,3 +1,9 @@
+Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>
+
+       * gtk/gtkclist.c: draw the buttons during a "draw" as well,
+         this fixes a bug when the whole widget is made non-sesitive
+         the buttons weren't redrawn
+
 Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>
 
        * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
index 617ac22e5beba0b8b7aeb7a0ccff77d75357065f..e629a787aed030394497083573406d3423989eee 100644 (file)
@@ -1,3 +1,9 @@
+Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>
+
+       * gtk/gtkclist.c: draw the buttons during a "draw" as well,
+         this fixes a bug when the whole widget is made non-sesitive
+         the buttons weren't redrawn
+
 Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>
 
        * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
index 617ac22e5beba0b8b7aeb7a0ccff77d75357065f..e629a787aed030394497083573406d3423989eee 100644 (file)
@@ -1,3 +1,9 @@
+Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>
+
+       * gtk/gtkclist.c: draw the buttons during a "draw" as well,
+         this fixes a bug when the whole widget is made non-sesitive
+         the buttons weren't redrawn
+
 Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>
 
        * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
index 8018e547ad3369f62ec82a9734902ab3d544b4e0..ac25959755723c6feebbd33052ef15ef5515a8fb 100644 (file)
@@ -2521,6 +2521,7 @@ gtk_clist_draw (GtkWidget * widget,
 {
   GtkCList *clist;
   gint border_width;
+  int i;
 
   g_return_if_fail (widget != NULL);
   g_return_if_fail (GTK_IS_CLIST (widget));
@@ -2548,6 +2549,11 @@ gtk_clist_draw (GtkWidget * widget,
                             0, 0, -1, -1);
 
       draw_rows (clist, NULL);
+
+      for (i = 0; i < clist->columns; i++)
+       {
+         gtk_widget_queue_draw (clist->column[i].button);
+       }
     }
 }